<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-appid" class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appid" data-rule="required" class="form-control" name="row[appid]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-appsecret" class="control-label col-xs-12 col-sm-2">{:__('Appsecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appsecret" data-rule="required" class="form-control" name="row[appsecret]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-encodingAesKey" class="control-label col-xs-12 col-sm-2">{:__('Encodingaeskey')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-encodingAesKey" data-rule="required" class="form-control" name="row[encodingAesKey]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-component_verify_ticket" class="control-label col-xs-12 col-sm-2">{:__('Component_verify_ticket')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-component_verify_ticket" data-rule="required" class="form-control" name="row[component_verify_ticket]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-component_access_token" class="control-label col-xs-12 col-sm-2">{:__('Component_access_token')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-component_access_token" data-rule="required" class="form-control" name="row[component_access_token]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-token_overtime" class="control-label col-xs-12 col-sm-2">{:__('Token_overtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-token_overtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[token_overtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pre_auth_code" class="control-label col-xs-12 col-sm-2">{:__('Pre_auth_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pre_auth_code" data-rule="required" class="form-control" name="row[pre_auth_code]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pre_code_overtime" class="control-label col-xs-12 col-sm-2">{:__('Pre_code_overtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pre_code_overtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pre_code_overtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
